<template>
  <div>
    <sect></sect>
    <div class="header">
      <div class="xc"></div>
      <div class="message">消息</div>
      <div class="create"><i class="iconfont icon-qunliao"></i>群聊</div>
    </div>
    <div class="header-m">
      <div class="praise">
        <div class="praise-1 sty">
          <van-icon name="like" color="red" size="20" />
        </div>
        <p>赞和收藏</p>
      </div>
      <div class="attention">
        <div class="attention-1 sty">
          <van-icon name="manager" color="blue" size="20" />
        </div>
        <p>新增关注</p>
      </div>
      <div class="comment">
        <div class="comment-1 sty">
          <van-icon name="chat" color="green" size="20" />
        </div>
        <p>评论和@</p>
      </div>
    </div>
    <div class="Chat-body">
      <div class="inform">
        <div class="inform-i"><i class="iconfont icon-xiaoxi1"></i></div>
        <div class="inform-message">
          <span class="me">消息通知</span>
          <span class="mq">薯队长喊你来参加网页版小红书体验调研啦</span>
        </div>
        <div class="data">
          <span>05/28</span>
          <van-badge :content="1" class="tips" />
        </div>
      </div>
    </div>
  </div>
</template>

<script>
  import sect from '../../components/Sectorization.vue'
export default {
  components: {
    sect
  }
};
</script>

<style scoped>
.header {
  display: flex;
  justify-content: space-around;
  height: 50px;
  font-size: 14px;
  margin-top: 20px;
}
.xc {
  width: 45px;
}
.icon-qunliao {
  font-size: 18px;
}
/* 第二个模块 */
.header-m > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
}
.header-m {
  display: flex;
  justify-content: space-around;
  height: 80px;
}

.header-m p {
  width: 100px;
  text-align: center;
  font-size: 14px;
}
.sty {
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 10px;
  text-align: center;
}
.praise-1 {
  background-color: rgb(239, 204, 204);
}
.attention-1 {
  background-color: rgb(213, 213, 244);
}
.comment-1 {
  background-color: rgb(210, 239, 210);
}
.Chat-body {
  margin-top: 20px !important;
  width: 90%;
  height: 100px;
  margin: 0 auto;
}
.inform {
  height: 50px;
  display: flex;
  justify-content: space-between;
}
.inform-i {
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  background-color: rgb(189, 224, 231);
  border-radius: 50px;
}
.icon-xiaoxi1 {
  font-size: 30px;
  color: rgb(8, 162, 245);
}
.inform-message {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 50px;
  font-size: 13px;
}
.me {
  font-size: 16px;
}
.tips {
  line-height: 22px;
  width: 22px;
  text-align: center;
  border-radius: 20px;
}
.data {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}
.data span {
  font-size: 12px;
  color: rgb(168, 172, 172);
}
</style>